package chalmers.game.subterranean.model.world.squares.blocks.actionblocks;

import chalmers.game.subterranean.util.Resource;
import chalmers.game.subterranean.util.BlockProperties;
import chalmers.game.subterranean.util.BlockType;

/**
 * User: Mikael Friederici Date: 2014-05-13 Time: 12:32
 */
public class Ladder extends ActionBlock {
  private static final BlockType type = new BlockType(BlockType.Action.LADDER);

  public Ladder() {
    super.durability = BlockProperties.LADDER_DURABILITY;
  }

  @Override
  public Resource getResource() {
    return Resource.PLACABLE_LADDER;
  }

  @Override
  public String toString() {
    return "-";
  }

  @Override
  public void handleAction() {
    // DO NOTHING
  }

  @Override
  public BlockType handleGetType() {
    return type;
  }
}
